
package com.example;
import com.example.service.impl.ResumeClassifyServiceImpl;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.text.ParseException;

import static java.lang.System.*;

/**
 * 部门测试
 * @author wsl
 */
public class DeptT extends TestConfig {
    @Autowired
    private ResumeClassifyServiceImpl resumeClassifyService;

    @Test
    public void a() throws ParseException {
        Integer match = resumeClassifyService.calJobMatch(4);
        err.println("match -> " + match);
    }

    @Test
    public void t() {
//        List<Dept> deptList = deptMapper.selectDeptOptions(1);
//        deptList.forEach(out::println);
//        List<DeptTree> companyList = companyMapper.selectCompanyWithDeptList(null);
//        System.out.println(companyList);
//        List<Dept> deptList = deptMapper.selectDeptList(1);
//        deptList.forEach(out::println);
//        List<Department> result = departments.stream().filter(department -> {
//            if(!Utils.isEmpty(deptName) || enabled!=null){
//                boolean a = department.getDeptName().matches(".*" + deptName + ".*");//匹配deptName
//                boolean b = department.getEnabled().
//            }
//            if()
//            return
//        }).collect(Collectors.toList());
    }
}
